//
//  ApproveStore.swift
//  DesignCode
//
//  Created by 李澄 on 2020/11/20.
//  Copyright © 2020 Mithun. All rights reserved.
//
import Combine
import SwiftUI

class ApproveStore: ObservableObject {
   var willChange = PassthroughSubject<Void, Never>()

   var approves: [Approve] {
      didSet {
         willChange.send()
      }
   }

   init(updates: [Approve] = []) {
      self.approves = updates
   }
}

